import Service from '@pisiw/model'

export async function getArtInfo(req: any, res: any) {
    const {artId} = req.query
    console.log(artId,'artId')
    const result = await Service.arts.getArtInfo(artId)
    res.send(result)
}

export async function getArtsList(req:any,res:any){
    const result = await Service.arts.getArtsList()
    res.send(result)
}